import 'package:flutter/material.dart';

class RowCase extends StatelessWidget {
  const RowCase({super.key});

  @override
  Widget build(BuildContext context) {
    return Container(
      height: 200,
      color: Colors.orange,
      child: const Row(
        // mainAxisAlignment: MainAxisAlignment.spaceAround, // 主轴对齐方式
        mainAxisAlignment: MainAxisAlignment.spaceBetween, // 主轴对齐方式
        // crossAxisAlignment: CrossAxisAlignment.start, // 副轴对齐方式
        crossAxisAlignment: CrossAxisAlignment.end,
        children: [
          Text(
            '垂直布局',
            style: TextStyle(backgroundColor: Colors.amberAccent),
          ),
          Text('美妆效果嘎嘎不卡粉末面刷'),
          Text('¥99.90')
        ],
      ),
    );
  }
}
